﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UploadAvatar.aspx.cs" Inherits="AiXiu.WebSite.UploadAvatar" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
      <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>修改头像</title>
    <link href="Content/mui/css/mui.min.css" rel="stylesheet" />
    <link href="Css/UploadAvatar.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
        <header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">修改头像</h1>
		</header>
        <div class="content">
            <div class="mui-row">
                <asp:Label ID="Label1" runat="server" Text="选择头像"></asp:Label>
                <asp:FileUpload ID="FileUploadAvatar" accept=".png,.jpg,.jpeg" runat="server" />
                <asp:Button ID="btnUploadAvatar" UseSubmitBehavior="false" runat="server" Text="上传头像" OnClick="btnUploadAvatar_Click" />
            </div>
            <div class="mui-row">
                <asp:Image ID="imgExhibitAvatar" runat="server" />
            </div>
            <div class="mui-row">
                <asp:Button ID="btnUpdate" runat="server" Text="更新头像" OnClick="btnUpdate_Click" />
            </div>
        </div>
    </form>
    <script src="Content/mui/js/mui.min.js"></script>
    <script>
        mui.init();
    </script>
</body>
</html>
